package com.librarydemo.demo.service;

import com.librarydemo.demo.entity.Book;
import com.librarydemo.demo.entity.Catalog;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BookService {

    //获取所有的图书
    List<Book> getAllBooks() ;

    //获取所有的图书类别
    List<Catalog> getCatalog();
}
